<?$new = $data['news_id'];
?>
<li class="clearfix list-news-item">
	<a href="/news/<?=$new->news_id?>"><img class="con_img" src="<?=NC::defaultPic($new->news_thumb)?>" height="100px" width="140px"/></a>
	<div class="col_right">
		<a class="top_title" href="/wai/<?=$new->news_id?>/<?=$new->url_host?>/<?=CHtml::encode($new->site_title)?>"><?=NC::ncSubstr($new->site_title,90,'...')?></a>
		<div class="tips_p clearfix">
			<div class="web">
				<img src="/images/tips_web.png" />
				<a href="<?=$new->link_url?>"><?=$new->url_host?></a>
			</div>
			<div class="cmt">
				<img src="/images/tips_cmt.png" />
				<a href="/news/<?=$new->news_id?>#cm<?=$new->news_id?>">评论(<?=$new->comment_num?>)</a>
			</div>
			<div class="name">
				<img src="/images/tips_user.png" />
				<a href="/upper/<?=$new->user_id?>"><?=$new->user_name?></a>
				<span>分享于<?=NC::to_time($new->post_time)?></span>
			</div>
		</div>
		<p class="cons"><?=NC::ncSubstr($new->news_desc,300,'...[<a href="/news/'.$new->news_id.'" class="more">查看更多</a>]')?></p>
		<?
			$tags = News::tagToLinks($new->news_tag);
		?>
		<div class="con_tags clearfix">
			<?foreach($tags as $val):?>
			<span class="con_tags_one">
				<img src="/images/news_tag.png" />
				<span class="onetag"><?=$val['tag_name']?></span>
			</span>
			<?endforeach?>
		</div>
		<div class="col_op clearfix">
			<?if(!Yii::app()->user->isGuest):?>
			<?$this->widget('Digg',array('news_id'=>$new->news_id,'digg_num'=>$new->digg_num,'action'=>isset($new->actions[0]) ? $new->actions[0] : false));?>
			<?$this->widget('Trash',array('news_id'=>$new->news_id,'trash_num'=>$new->trash_num,'action'=>isset($new->actions[0]) ? $new->actions[0] : false));?>
		<?else:?>
			<?$this->widget('Digg',array('news_id'=>$new->news_id,'digg_num'=>$new->digg_num,'action'=>false));?>
			<?$this->widget('Trash',array('news_id'=>$new->news_id,'trash_num'=>$new->trash_num,'action'=>false));?>
		<?endif?>
		</div>
	</div>
</li>